<%--
  User: zhangteng
  Date: 2015/1/4 19:36
--%>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<ul class="nav nav-list">
    <li <c:if test="${PWModule == 'Admin:Product'}">class="active"</c:if> >
        <a href="${website}admin/product">
            <i class="icon-user"></i>
            <span class="menu-text"> 商品管理 </span>
        </a>
        <ul class="submenu">
            <li <c:if test="${MethodModule == 'Admin:Product:list'}">class="active"</c:if> >
                <a href="${website}admin/product">
                    <i class="icon-double-angle-right"></i>
                    商品列表
                </a>
            </li>
            <li <c:if test="${MethodModule == 'Admin:Product:new'}">class="active"</c:if> >
                <a href="${website}admin/product/new">
                    <i class="icon-double-angle-right"></i>
                    添加商品
                </a>
            </li>
            <c:if test="${MethodModule == 'Admin:Product:edit'}">
                <li <c:if test="${MethodModule == 'Admin:Product:edit'}">class="active"</c:if> >
                    <a href="${website}admin/product/edit">
                        <i class="icon-double-angle-right"></i>
                        编辑商品
                    </a>
                </li>
            </c:if>
        </ul>
    </li>

    <li <c:if test="${PWModule == 'Admin:Supplier'}">class="active"</c:if> >
        <a href="${website}admin/supplier">
            <i class="icon-list"></i>
            <span class="menu-text"> 供应商管理 </span>
        </a>
        <ul class="submenu">
            <li <c:if test="${MethodModule == 'Admin:Supplier:list'}">class="active"</c:if> >
                <a href="${website}admin/supplier">
                    <i class="icon-double-angle-right"></i>
                    供应商列表
                </a>
            </li>
            <li <c:if test="${MethodModule == 'Admin:Supplier:new'}">class="active"</c:if> >
                <a href="${website}admin/supplier/new">
                    <i class="icon-double-angle-right"></i>
                    添加供应商
                </a>
            </li>
            <c:if test="${MethodModule == 'Admin:Supplier:edit'}">
                <li <c:if test="${MethodModule == 'Admin:Supplier:edit'}">class="active"</c:if> >
                    <a href="${website}admin/supplier/edit">
                        <i class="icon-double-angle-right"></i>
                        编辑供应商
                    </a>
                </li>
            </c:if>
        </ul>
    </li>

    <li <c:if test="${PWModule == 'Admin:Member'}">class="active"</c:if> >
        <a href="${website}admin/member">
            <i class="icon-file"></i>
            <span class="menu-text"> 会员管理 </span>
        </a>
        <ul class="submenu">
            <li <c:if test="${MethodModule == 'Admin:Member'}">class="active"</c:if> >
                <a href="${website}admin/member">
                    <i class="icon-double-angle-right"></i>
                    会员列表
                </a>
            </li>
            <li <c:if test="${MethodModule == 'Admin:Member:new'}">class="active"</c:if> >
                <a href="${website}admin/member/new">
                    <i class="icon-double-angle-right"></i>
                    添加会员
                </a>
            </li>
            <c:if test="${MethodModule == 'Admin:Member:edit'}">
                <li <c:if test="${MethodModule == 'Admin:Member:edit'}">class="active"</c:if> >
                    <a href="${website}admin/member/edit">
                        <i class="icon-double-angle-right"></i>
                        编辑会员
                    </a>
                </li>
            </c:if>
        </ul>
    </li>

    <li <c:if test="${PWModule == 'Admin:Order'}">class="active"</c:if> >
        <a href="${website}admin/order">
            <i class="icon-check"></i>
            <span class="menu-text"> 借阅管理 </span>
        </a>
        <ul class="submenu">
            <li <c:if test="${MethodModule == 'Admin:Order:list'}">class="active"</c:if> >
                <a href="${website}admin/order">
                    <i class="icon-double-angle-right"></i>
                    订单列表
                </a>
            </li>
            <li <c:if test="${MethodModule == 'Admin:Order:new'}">class="active"</c:if> >
                <a href="${website}admin/order/new">
                    <i class="icon-double-angle-right"></i>
                    添加借阅
                </a>
            </li>
            <li <c:if test="${MethodModule == 'Admin:Order:ordered'}">class="active"</c:if> >
                <a href="${website}admin/order/ordered/list">
                    <i class="icon-double-angle-right"></i>
                    预约订单列表
                </a>
            </li>
            <c:if test="${MethodModule == 'Admin:Order:edit'}">
                <li
                        <c:if test="${MethodModule == 'Admin:Order:edit'}">class="active"</c:if> >
                    <a href="">
                        <i class="icon-double-angle-right"></i>
                        编辑订单
                    </a>
                </li>
            </c:if>
        </ul>
    </li>

</ul>